﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCLHShenQingXX_YDTZ.ascx.cs" Inherits="Web.Controls.LAIHAN.UCLHShenQingXX_YDTZ" %>
<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<style type="text/css">
   
</style>
<script type="text/javascript">
    function ChangeBai() {

        if (chkBAI.GetChecked() && txtShenQingJHLName.GetText() != "") {
            var num = Number(txtShenQingJHLName.GetText());

            if (!isNaN(num)) {
                txtShenQingJHLName.SetText(num * 100);
            }

        }
    }
</script>
<fieldset style="border: 1px solid  cornflowerblue;">
                        <legend><b>申请计划量</b></legend>
                        <table style="width: 100%;">
                            <tr>
                                <td align="right" width="120px">实用水量：

                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtSYL"  ReadOnly="true" runat="server" Width="100%"></dx:ASPxTextBox>

                                </td>
                                <td align="right" width="60px">原计划：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtYJH"  ReadOnly="true" runat="server" Width="100%"></dx:ASPxTextBox>
                                </td>
                                <td align="right" width="100px">用户申请量 ：
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtJHL" ClientInstanceName="txtShenQingJHLName" runat="server" Width="100%">
                                        <ClientSideEvents TextChanged="function(s,e){ChangeBai();}" />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <dx:ASPxCheckBox ID="chkBAI" Text="百立方输入" ClientInstanceName="chkBAI" Checked="false" runat="server">
                                        
                                    </dx:ASPxCheckBox>

                                </td>
                            </tr>
                        </table>
                    </fieldset>